/**
 * @fileOverview
 * @author iNahoo
 * @since 2019/11/15.
 *
 # 菜单
 工会小屋 506,386

 # 上线的动作

 领取全部 - 756,316
 领取后关闭 - 398,344
 */

const {run} = require('../../instances');
const {sleep} = require('../../pcr-operation/utils');

run(async (p, s, m) => {

    // 工会小屋
    await m.click(s.getPoint(506,386, 20, 20));
    await sleep(2e3);

    // take all
    await m.click(s.getPoint(756,316, 10, 10));

    // ok
    await sleep(3e3);
    await m.click(s.getPoint(398,344, 30, 5));
});
